//
//  settleQueryViewCell.swift
//  NewLndd
//
//  Created by 邵禹曦 on 2020/1/8.
//  Copyright © 2020 辽宁当代. All rights reserved.
//

import UIKit
// MARK: - 交收查询
class settleQueryViewCell: UITableViewCell {
    
    @IBOutlet weak var dgbh: UILabel!
         
         @IBOutlet weak var OFF: UILabel!

          @IBOutlet weak var PP: UILabel!
          
          @IBOutlet weak var AP: UILabel!
          
          @IBOutlet weak var TF: UILabel!
          
          @IBOutlet weak var PF: UILabel!
          
          @IBOutlet weak var AF: UILabel!
          
         @IBOutlet weak var za: UILabel!
    
        @IBOutlet weak var zs: UILabel!

          @IBOutlet weak var zd: UILabel!

         @IBOutlet weak var zf: UILabel!
    
         @IBOutlet weak var zg: UILabel!
       
       
         @IBOutlet weak var qa: UILabel!
         @IBOutlet weak var qs: UILabel!
         @IBOutlet weak var qd: UILabel!
         @IBOutlet weak var qf: UILabel!
         @IBOutlet weak var qg: UILabel!

       @IBOutlet weak var sa: UILabel!
       @IBOutlet weak var ss: UILabel!
       @IBOutlet weak var sd: UILabel!
       @IBOutlet weak var sf: UILabel!
       @IBOutlet weak var sg: UILabel!
    
    @IBOutlet weak var ckxh: UILabel!
    
    @IBOutlet weak var qr: UIButton!
    
    
    
    // MARK: - 自定义属性
    var ViewModel : settlequery? {
        // 属性监听器
        didSet {
            
            // 1. nil值校验
            guard let ViewModel = ViewModel else {
                return
            }
            OFF.text = ViewModel.COI
            PP.text = ViewModel.CON
            dgbh.text = ViewModel.DAI
            AP.text = ViewModel.WHI
            TF.text = ViewModel.WHN
            PF.text = ViewModel.AQ
            AF.text = ViewModel.DQ
            za.text = ViewModel.U
            zs.text = ViewModel.DD
            zd.text = ViewModel.DS
            zf.text = ViewModel.IN
            zg.text = ViewModel.FDF
            qa.text = ViewModel.FIF
            qs.text = ViewModel.FSF
            qd.text = ViewModel.FTF
            qf.text = ViewModel.DF
            qg.text = ViewModel.IF
            sa.text = ViewModel.SF
            ss.text = ViewModel.TF
            sd.text = ViewModel.CT
            sf.text = ViewModel.UT
           
        }
    }

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
